program Project2;

{$APPTYPE CONSOLE}

uses
  SysUtils;

type
  solve=class
  a, b, c : integer;
  procedure solver(d, x1, x2:real);
  end;

  procedure solve.solver(d, x1, x2:real);
    begin
    if (a=0) then begin
      x1:=(-c)/b;
      writeln(x1:0:2)
    end;
    if (b=0) then begin
      x1:=sqrt((-c)/a);
      writeln(x1:0:2)
    end;
    d:=b*b-4*a*c;
    if (d>=0) then begin
      x1:= ((-b+sqrt(b*b-4*a*c))/2*a);
      x2:= ((-b-sqrt(b*b-4*a*c))/2*a);
      writeln (x1:0:2 , x2:0:2)
    end else
     writeln ('no solves');
     end;

var t:solve;


begin
  t:= Solve.Create;
  readln (t.a);
  readln (t.b);
  readln (t.c);
  t.solver(t.a, t.b, t.c);
  readln;
end.
